package com.act.validate;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;


public class ValidateProperties {

	public static Properties props=new Properties();
	
	private static ValidateProperties validateProperties=new ValidateProperties();
	
	private ValidateProperties(){
		InputStream is = getClass().getResourceAsStream("/validate.properties");
		try {
	                props.load(is);
                } catch (IOException e) {
	                // TODO Auto-generated catch block
	                e.printStackTrace();
                }
	}
	
	
	public static  String getValue(String key){
		return props.getProperty(key, key);
	}
	
	
}
